Skip to content

Add i18n (FR/EN/CN), fullscreen resizable window and adaptive layout - #13

Open
stodar wants to merge 1 commit into
13exp:mainfrom
stodar:main
Open

stodar wants to merge 1 commit into
13exp:mainfrom
stodar:main

Conversation

@stodar

@stodar stodar commented Nov 22, 2026

Copy link
Copy Markdown

Internationalization:

  • Add lightweight i18n module (util/Translate.py) loading string tables from translations//string.json (CN, US, FR — 113 keys each)
  • Translate the whole UI: tabs, menus, dialogs, config windows
  • Translate scan/exploit result messages in all 12 vuls/* modules, core.py and util/InputCheck.py
  • Translate the Fofa query-syntax help (Banner.py) into EN and FR
  • Add Language menu (中文 / English / Français) with live UI rebuild on switch; choice persisted in config/lang.json
  • Default to English on first run; "Auto" User-Agent value now uses the same translation key everywhere

Window and layout:

  • Open the window maximized (Windows state, Linux/EWMH -zoomed, geometry fallback) and add F11 to toggle true fullscreen
  • Make the window resizable by mouse drag
  • Replace absolute pixel positioning with a measured, responsive layout: widget sizes are taken from real label/entry/button metrics, positions are recomputed on every resize (), and a dynamic minimum window size prevents any overlap across languages and DPI settings

Misc:

  • Add .gitignore (pycache, local language preference)

Internationalization:
- Add lightweight i18n module (util/Translate.py) loading string tables
  from translations/<LANG>/string.json (CN, US, FR — 113 keys each)
- Translate the whole UI: tabs, menus, dialogs, config windows
- Translate scan/exploit result messages in all 12 vuls/* modules,
  core.py and util/InputCheck.py
- Translate the Fofa query-syntax help (Banner.py) into EN and FR
- Add Language menu (中文 / English / Français) with live UI rebuild
  on switch; choice persisted in config/lang.json
- Default to English on first run; "Auto" User-Agent value now uses
  the same translation key everywhere

Window and layout:
- Open the window maximized (Windows state, Linux/EWMH -zoomed,
  geometry fallback) and add F11 to toggle true fullscreen
- Make the window resizable by mouse drag
- Replace absolute pixel positioning with a measured, responsive
  layout: widget sizes are taken from real label/entry/button
  metrics, positions are recomputed on every resize (<Configure>),
  and a dynamic minimum window size prevents any overlap across
  languages and DPI settings

Misc:
- Add .gitignore (pycache, local language preference)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant